Developer Documentation
PATHJava Developer Documentation > Mac OS Runtime for Java > JManager > Programming With JManager


Proxy Server Options

When calling the JMSetProxyInfo function, you must pass a data structure containing information about the proxy server. The JMGetProxyInfo function returns information in this structure. The proxy server data structure is defined by the JMProxyInfo data type.

struct JMProxyInfo {
    Boolean useProxy;
    char proxyHost[255];
    UInt16 proxyPort;
};

Field descriptions

useProxy
If set to true, the specified proxy is to be used.
proxyHost
The name of the proxy server.
proxyPort
The port number of the proxy server.

For more information about using this structure, see the JMGetProxyInfo function JMGetProxyInfo and JMSetProxyInfo function JMSetProxyInfo.


© 1998 Apple Computer, Inc. — (Last Updated 3 Dec 98)